package com.manage.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.manage.dao.MenuMapper;
import com.manage.model.Menu;
@Service
public class MenuServiceImpl implements MenuService{
	@Autowired
	private MenuMapper menuMapper;
	public List<Menu> listAllMenus() {
		return menuMapper.listAllMenus() ;
	}
	public void saveMenu(Menu menu) {
		menuMapper.saveMenu(menu);
		
	}
	@Override
	public Menu selectMenuByRoleId(Integer roleid) {
		// TODO Auto-generated method stub
		return null;
	}
}
